package com.school.domain;


import java.io.Serializable;

public class Admin implements Serializable {

  private static final long serialVersionUID = 3638470109159278680L;
  private long aid;
  private String name;
  private String pwd;


    public Admin() {
    }

    public Admin(long aid, String name, String pwd) {
        this.aid = aid;
        this.name = name;
        this.pwd = pwd;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "aid=" + aid +
                ", name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                '}';
    }

    public long getAid() {
    return aid;
  }

  public void setAid(long aid) {
    this.aid = aid;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getPwd() {
    return pwd;
  }

  public void setPwd(String pwd) {
    this.pwd = pwd;
  }

}
